import { $t } from "@/plugins/i18n";
import { gameManage } from "@/router/enums";

export default {
  path: "/script-manage",
  redirect: "/script-manage/index",
  meta: {
    icon: "ri:file-info-line",
    title: $t("menus.gameManagement"),
    rank: gameManage
  },
  children: [
    {
      path: "/script-manage/index",
      name: "scriptManagement",
      component: () => import("@/views/gamemanage/script/index.vue"),
      meta: {
        title: $t("menus.scriptManagement")
      }
    },
    // {
    //   path: "/goods-manage/index",
    //   name: "goodsManagement",
    //   component: () => import("@/views/gamemanage/goods/index.vue"),
    //   meta: {
    //     title: $t("menus.goodsManagement")
    //   }
    // }
  ]
} satisfies RouteConfigsTable;
